<template>
  <div class="addGoodsBox">
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item>商品管理</el-breadcrumb-item>
      <el-breadcrumb-item>添加商品</el-breadcrumb-item>
    </el-breadcrumb> 

    <el-card class="box-card">
      <el-alert title="添加商品信息" type="info" center show-icon> </el-alert>
      <el-steps
        :space="200"
        :active="active"
        finish-status="success"
        align-center
      >
        <el-step title="基本信息"></el-step>
        <el-step title="商品参数"></el-step>
        <el-step title="商品属性"></el-step>
        <el-step title="商品图片"></el-step>
        <el-step title="商品内容"></el-step>
        <el-step title="完成"></el-step>
      </el-steps>

      <el-tabs v-model="activeName" @tab-click="handleClick" tab-position="left" class="mt-20">
        <el-tab-pane label="基本信息" name="first">
        <el-form label-width="80px">
            <el-form-item label="商品名称">
            <el-input></el-input>
            </el-form-item>
        </el-form>
        </el-tab-pane>
        <el-tab-pane label="商品参数" name="second"></el-tab-pane>
        <el-tab-pane label="商品属性" name="third"></el-tab-pane>
        <el-tab-pane label="商品图片" name="fourth"></el-tab-pane>
        <el-tab-pane label="商品内容" name="fifth"></el-tab-pane>
    </el-tabs>
    </el-card>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: 0,
      activeName: 'first'
    };
  },
  methods: {
    handleClick(){
      
    }
  }
};
</script>

<style lang="less" scoped>
.el-steps {
  width: 80%;
  margin: 20px auto;
}
</style>